package org.example.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//引导类：是springbooot项目入口，运行main方法就可以启动项目
@SpringBootApplication
@MapperScan("org.example.springboot.mapper")//告诉springboot扫描这个mapper包
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

}
